﻿<UserControl x:Class="DiscoveryLogic.Analytics.Modules.Explorers.ExploreNetworkAssociation"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    Height="300" Width="500" Loaded="UserControl_Loaded">
    <Grid Margin="10">
        <Grid.RowDefinitions>
            <RowDefinition Height="35"/>
            <RowDefinition Height="35"/>
            <RowDefinition Height="35"/>
            <RowDefinition Height="35"/>
            <RowDefinition Height="*"/>
            <RowDefinition Height="35"/>
        </Grid.RowDefinitions>
        <Grid.ColumnDefinitions>
            <ColumnDefinition Width="150"/>
            <ColumnDefinition Width="*"/>
        </Grid.ColumnDefinitions>

        <Label Grid.Row="0" Grid.Column="0"
               Margin="5,0,0,0" HorizontalAlignment="Left"
               VerticalAlignment="Center">Network:</Label>
        <TextBlock 
            Grid.Row="0" Grid.Column="1"
            x:Name="txtNetworkName"
            Margin="5,0,0,0" HorizontalAlignment="Left"
            VerticalAlignment="Center" Text="TTURC"
            FontWeight="Bold" FontSize="12"></TextBlock>
        
        <Label Grid.Row="1" Grid.Column="0"
               Margin="5,0,0,0" HorizontalAlignment="Left"
               VerticalAlignment="Center">Source entity type:</Label>
        <ComboBox Grid.Row="1" Grid.Column="1"
                  Margin="5,0,0,0" HorizontalAlignment="Left"
                  VerticalAlignment="Center" MinWidth="250"
                  x:Name="cboSrcEntity"></ComboBox>
        
        <Label Grid.Row="2" Grid.Column="0"
               Margin="5,0,0,0" HorizontalAlignment="Left"
               VerticalAlignment="Center">Target entity type:</Label>
        <ComboBox Grid.Row="2" Grid.Column="1"
                  Margin="5,0,0,0" HorizontalAlignment="Left"
                  VerticalAlignment="Center" MinWidth="250"
                  x:Name="cboTgtEntity" SelectionChanged="cboTgtEntity_SelectionChanged"></ComboBox>

        <Label Grid.Row="3" Grid.Column="0"
               Margin="5,0,0,0" HorizontalAlignment="Left"
               VerticalAlignment="Center">Rule:</Label>
        <ComboBox Grid.Row="3" Grid.Column="1"
                  x:Name="cboRules"
                  Margin="5,0,0,0" HorizontalAlignment="Left"
                  VerticalAlignment="Center" MinWidth="250"></ComboBox>

        
        <StackPanel Grid.Row="5" Grid.Column="0" Grid.ColumnSpan="2"
                        Orientation="Horizontal" HorizontalAlignment="Right"
                        VerticalAlignment="Center" Margin="0,0,15,0">
            <Button x:Name="btnCancel" Content="Cancel" Margin="5,0,5,0" Width="70" Click="btnCancel_Click" />
            <Button x:Name="btnOK" Content="OK" Margin="5,0,5,0" Width="70" Click="btnOK_Click" />
        </StackPanel>
    </Grid>
</UserControl>
